//
//  CircleScrollView.h
//  ScrollviewCircle
//
//  Created by liangcheng on 16/2/25.
//  Copyright © 2016年 liangcheng. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CircleScrollView;

@protocol CircleScrollViewDelegate <NSObject>

@optional

//回调点击的页数
- (void)didClickPage:(CircleScrollView *)view atIndex:(NSInteger)index;

@end

@interface CircleScrollView : UIView
/**
 *  图片数据源
 */
@property (nonatomic, strong) NSArray *imageDataSource;
/**
 *  代理
 */
@property (nonatomic, assign) id<CircleScrollViewDelegate> delegate;
/**
 *  初始化
 */
- (instancetype)initWithFrame:(CGRect)frame;
@end
